<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <%@ include file="/static/web/jsp/include.jsp"%>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>我的-消息</title>
    <meta name="description" content="网站描述" />
    <meta name="keywords" content="关键词" />
    <link rel="stylesheet" href="${path}/static/web/style/style.css">
    <link rel="stylesheet" href="${path}/static/web/style/hizoom.css">
    <link rel="stylesheet" href="${path}/static/web/style/page_nav.css">
    <link rel="stylesheet" href="${path}/static/web/style/art.css">
</head>
<body>
    <!-- 导航 -->
    <%@ include file="/static/web/jsp/top.jsp"%>

    <!-- 详情内容 -->
    <div class="model_container" id="messageController" v-cloak>
        <div class="link_sprite">当前位置：<a href="">首页</a> &#155; <a href="">个人中心</a> &#155; <a href="">消息</a></div>

        <div class="model_container clearfix">
            <!-- 我的中心导航 -->
            <%@ include file="/static/web/jsp/mine_nav.jsp"%>

            <!-- 右侧内容区 -->
            <div class="mine_aside" v-infinite-scroll="loadData" infinite-scroll-disabled="busy" infinite-scroll-distance="0">

                <div class="block_box box_shadow" >
                    <div class="no_data" v-show="list.length == 0">
                        <img src="${path}/static/web/images/no_data.png"/>
                        <p>暂无数据哦，去看看其他的吧</p>
                    </div>
                    <a v-show="list.length > 0" class="message_item" href="javascript:void(0);" v-for="item in list" @click="jump(item)">
                        <div class="message_head">
                            <span class="label">{{messageType[item.type].substring(0,1)}}</span>
                            <span class="name">{{messageType[item.type]}}</span>
                            <span class="time">{{item.createTime}}</span>
                        </div>
                        <p class="message_content">{{item.content}}</p>
                    </a>
                </div>

            </div>
        </div>
    </div>


    <!-- 客服 -->
    <%@ include file="/static/web/jsp/footer.jsp"%>

</body>
<%--<script src="${path}/static/web/js/jquery.min.js"></script>--%>
<script src="${path}/static/web/js/art.js"></script>
<script src="${path}/static/web/js/biz/mine_message.js"></script>
</html>